function toggle_logo() {
  new Ajax.Request('/user/toggle', {asynchronous:true});
  new Effect.toggle('logo','blind');
  }

function notice(txt) {
  var n = $('notice');
  n.innerHTML = txt;
  new Effect.BlindDown(n);
  new Effect.Highlight(n,{delay:2});
  new Effect.BlindUp(n,{delay:5});
  }

function toggle_column(tbl_id, col_no) {
  var tbl  = document.getElementById(tbl_id);
  var rows = tbl.getElementsByTagName('tr');
  for (var row=0; row<rows.length;row++) {
    var cels = rows[row].getElementsByTagName('td')
    cels[col_no].style.display=cels[col_no].style.display=='none' ? 'block' : 'none';
    }
  }
function refresh_project_list() {
  new Ajax.Updater('project_list', 'user/refresh_project_list')
  }
